﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Feedback.ascx.cs" Inherits="Components_Feedback" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<telerik:RadScriptManager ID="ScriptManager2" runat="server" EnableTheming="True"></telerik:RadScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div class="leftColFull">
   <div class="aroundFull">
<div class="greenText18">Liên hệ - Góp ý</div>
<div class="greenLine"></div>
<div class="yellowLine"></div>
<div class="wholeInfo">
    <div class="picInfo"><a href="#"><img src="/Template/images/i4.png" class="noborder" /></a></div>
    <div class="textInfo" style="margin-top:23px">
        <div class="infoTitle"><a href="#">Công ty TNHH MTV lương thực Tuyên Du</a></div>
                         
        <p>Địa chỉ: Thị tứ ngã Tư mắc, xã Quang Phục, huyện Tứ Kỳ, tỉnh Hải Dương<br />
			Điện thoại: (0320) 3747153 </p>
    </div>
</div><!---wholeInfo---->                
</div><!---around------>
    <div class="aroundFull">
<table>
    <tr>
        <td colspan="3"><asp:Label ID="lblMessage" runat="server"></asp:Label></td>
    </tr>
    <tr>
        <td>Họ và tên</td>
        <td><telerik:RadTextBox  ID="txtFullName" CssClass="formBox200" Width="100%" EmptyMessage="Họ và tên"    runat="server"/>
            <asp:RequiredFieldValidator  ID="RequiredtxtAddress" runat="server" ControlToValidate="txtFullName" ErrorMessage="Required(*)" ValidationGroup="g1"
                      ></asp:RequiredFieldValidator></td>
        <td><telerik:RadTextBox  ID="txtTitle" CssClass="formBox300" Width="100%" EmptyMessage="Tiêu đề"   runat="server"/><asp:RequiredFieldValidator  ID="RequiredFieldValidator1" runat="server" ErrorMessage="Required(*)" ControlToValidate="txtTitle" ValidationGroup="g1"
                      ></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td>Số điện thoại</td>
        <td><telerik:RadTextBox  ID="txtPhoneNumber" EmptyMessage="Số điện thoại" CssClass="formBox200" Width="100%"   runat="server"/><asp:RequiredFieldValidator  ID="RequiredFieldValidator2" runat="server" ErrorMessage="Required(*)" ControlToValidate="txtPhoneNumber" ValidationGroup="g1"
                      ></asp:RequiredFieldValidator></td>
        <td rowspan="5"><telerik:RadTextBox  ID="txtContent"  TextMode="MultiLine" EmptyMessage="Nội dung liên hệ"  CssClass="formBox300_50" Height ="30px" Width="300px"  runat="server"/><asp:RequiredFieldValidator  ID="RequiredFieldValidator3" runat="server" ErrorMessage="Required(*)" ControlToValidate="txtContent" ValidationGroup="g1"
                      ></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td>Địa chỉ</td>
        <td><telerik:RadTextBox  ID="txtAddress" EmptyMessage="Địa chỉ" CssClass="formBox200" Width="100%"   runat="server"/></td>
    </tr>
    <tr>
        <td>Email</td>
        <td><telerik:RadTextBox  ID="txtEmail" EmptyMessage="Email" CssClass="formBox200" Width="100%"   runat="server"/><asp:RequiredFieldValidator  ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtEmail" ErrorMessage="Required(*)" ValidationGroup="g1"
                      ></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="revEmailID" runat="server" ControlToValidate="txtEmail" ErrorMessage="Email không hợp lệ" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
    </tr>
    <tr>
        <td></td>
        <td>
            <asp:CheckBox ID="cbRecieve" runat="server"/>
            <i>Tôi muốn nhận bản sao qua email</i>
        </td>
    </tr>
        <tr>
        <td></td>
        <td><%--<img src="/Template/images/code.png" />--%></td>
    </tr>
    <tr>
        <td>Mã xác nhận</td>
        <td><telerik:RadCaptcha ID="RadCaptcha1" runat="server"  ValidationGroup="Group" EnableRefreshImage="true" CaptchaTextBoxCssClass="textBox">
                    <CaptchaImage ImageCssClass="imageClass" BackgroundColor="#dff3ff" TextColor="Black"></CaptchaImage>
               </telerik:RadCaptcha><asp:RequiredFieldValidator  ID="RequiredFieldValidator5" runat="server" ErrorMessage="Required(*)" ControlToValidate="txtAddress" ValidationGroup="g1"
                      ></asp:RequiredFieldValidator></td>
        <td><asp:Button ID="btnSend" style="margin-left:5px;" runat="server" Text="Gửi thư" CssClass="redBtn" ValidationGroup="g1" OnClick="btnSend_Click"/></td>
    </tr>
                       
</table>
</div><!---around----->
</div>
</ContentTemplate>
</asp:UpdatePanel>

<div class="progressbar">
    <asp:UpdateProgress ID="up" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div class="bg">
                <div class="progress progress-striped active">
                    <div class="progress-bar" role="progressbar" aria-valuenow="45" aria-valuemin="0"
                        aria-valuemax="100" style="width: 100%">
                        <span class="sr-only">100% Complete</span>
                    </div>
                </div>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
</div>
